import { Config } from "./src/config";


// gitee doc
export const defaultConfig: Config = {
  url: "https://ai.gitee.com/",
  match: ["https://ai.gitee.com/docs/**", 'https://ai.gitee.com/serverless-api', 'https://ai.gitee.com/model-engine', 'https://ai.gitee.com/app-engine', 'https://ai.gitee.com/serverless', 'https://ai.gitee.com/about', 'https://ai.gitee.com/models', 'https://ai.gitee.com/computing-network'],
  // docusaurus vuepress
  // 内部已处理, 匹配文档流最深的元素
  selector: `:is(.theme-doc-markdown, .docs-builder-container,
                .vt-doc, .vp-home, .vp-page, .VPContentPage,
                [data-docs=true], article[data-docs-container],
                .bd-article,main.isolate,main.flex)`,
  exclude: ['https://help.gitee.com/workspace/default/request/**', "https://ai.gitee.com/docs/openapi/**"],
  maxPagesToCrawl: 1500,
  outputFileName: "ai.gitee.com-20240828.json",
  maxTokens: 200000000000,
  waitForSelectorTimeout: 15000,
};